fix(@clack/core,@clack/prompts): add non empty opts type interface #145
fix(@clack/core,@clack/prompts): add non empty opts type interface #145kevduc wants to merge 5 commits intobombshell-dev:mainfrom
Conversation
|
|
Hey @kevduc ! Thanks for this PR! 🙏🏼 I recently merged a PR to simplify types on I could also see this being used also on https://github.com/natemoo-re/clack/blob/7c7fde8dcdfa1edc3feb131331290affbaa6d934/packages/prompts/src/index.ts#L307 & https://github.com/natemoo-re/clack/blob/7c7fde8dcdfa1edc3feb131331290affbaa6d934/packages/prompts/src/index.ts#L423 |
36cd1ad to
93fc16a
Compare
|
@cpreston321 Thanks for the suggestions!
|



This PR addresses this issue #144.
The current implementation is erroring out at runtime, the implementation in this PR shows a type error in the IDE/tsc instead.